package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallAdmin;
import com.ctsi.ssdc.domain.LitemallAdminExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallAdminRepository extends BaseRepository<LitemallAdmin, Integer, LitemallAdminExample> {
    @Override
    long countByExample(LitemallAdminExample example);

    @Override
    int deleteByExample(LitemallAdminExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallAdmin record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallAdmin record);

    @Override
    List<LitemallAdmin> selectByExample(LitemallAdminExample example);

    @Override
    LitemallAdmin selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallAdmin record, @Param("example") LitemallAdminExample example);

    @Override
    int updateByExample(@Param("record") LitemallAdmin record, @Param("example") LitemallAdminExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallAdmin record);

    @Override
    int updateByPrimaryKey(LitemallAdmin record);
}